{/* make sure you have the same number of lines in all code examples! */}

```kotlin
import io.vertx.core.AbstractVerticle

class Server : AbstractVerticle() {
  override fun start() {
    vertx.createHttpServer().requestHandler { req ->
      req.response()
        .putHeader("content-type", "text/plain")
        .end("Hello from Vert.x!")
    }.listen(8080)
  }
}
```
